import request from '@/common/request/request.js'
import config from '@/common/config/config.js';
const http = config.env

// 银行卡列表
export const bankList = data => {
	return request({
		url: http.baseUrl + '/customer/bank/list',
		method: 'GET',
		data: data
	})
}

// 银行卡新增
export const addBankCard = data => {
	return request({
		url: http.baseUrl + '/customer/bank/addBankCard',
		method: 'POST',
		data: data
	})
}

// 签约
export const signing = data => {
	return request({
		url: http.baseUrl + '/customer/bank/signing',
		method: 'POST',
		data: data
	})
}